﻿namespace YunQue.Core.Common.Models
{
    /// <summary>
    /// 服务信息模型
    /// </summary>
    public class ServiceModel
    {
        /// <summary>
        /// 服务名称
        /// </summary>
        public string ServiceName { get; set; }
        /// <summary>
        /// IP
        /// </summary>
        public string Host { get; set; }
        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// 是否是https
        /// </summary>
        public bool IsHttps { get; set; }
        /// <summary>
        /// 是否是粘性服务
        /// </summary>
        public bool IsStickiness { get; set; }
        /// <summary>
        /// 是否需要健康检查
        /// </summary>
        public bool IsHealthCheck { get; set; }
        /// <summary>
        /// 健康检查地址
        /// </summary>
        public string HealthCheckPath { get; set; }
    }
}
